﻿<%@ Page Theme="BlueSkin" Title="LMS : Register a course" Language="C#" MasterPageFile="~/LmsWebSite/MasterEN.master" AutoEventWireup="true" CodeFile="start_examEN.aspx.cs" Inherits="start_examEN" %>

<%@ Register src="examControlEN.ascx" tagname="examControlEN" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

  <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
        <asp:UpdateProgress ID="uprogress1" runat="server">
            <ProgressTemplate>
            
               <div style="position:fixed;width:30px;height:30px;top:0px;right:0px;border:1px solid orange;">
                    <img src="images/loading.gif" style="width:30px;height:30px;"  alt='Loading' title='Loading'/>
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    
        
        
        
        
<table cellspacing="5" cellpadding="5" width="100%">
        <tr>
            <td align="left" class="heading">
                Answer the following
            </td>
        </tr>
    </table>
    <br />
    
    <div class="aligning allWidthWithMargins  direction" style="margin-bottom:10px;margin-left:30px;margin-right:30px;font-size:14px;">
        
        <asp:GridView ID="grdQuestions" runat="server" AutoGenerateColumns="false" 
            AllowPaging="true" PageSize="1" DataKeyNames="ID" Width="840px" SkinID="grdNone" 
            onpageindexchanging="grdQuestions_PageIndexChanging" 
            onrowdatabound="grdQuestions_RowDataBound" GridLines="None">
        <PagerSettings Mode="NextPrevious"  NextPageImageUrl="getImage.ashx?image=./images/examNext.jpg&w=49&h=22&color=white" PreviousPageImageUrl="getImage.ashx?image=./images/examPrev.jpg&w=49&h=22&color=white"/>
            <PagerStyle HorizontalAlign="Center" />
            
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <uc1:examControlEN ID="ec1" runat="server"  showButton="false" />
                    
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>




    
        
        


        <asp:Panel ID="pnlShowResult" runat="server" HorizontalAlign="Center" Width="840px" Visible="false">
             <asp:Label ID="lblResult" runat="server" Text="" Font-Size="Larger" ForeColor="Green"></asp:Label>
        </asp:Panel>

       
        
        <div class="aligning allWidthWithMargins  direction">
            
            <div class="aligning direction" style="float:right">
                  <asp:Button ID="btnSubmit" runat="server" Text="Submit" BorderStyle="Solid" 
                      BorderColor="Orange" BackColor="DarkOrange" ForeColor="White" 
                      onclick="btnSubmit_Click"/>              
            </div>
            <div style="float:right;font-size:1px;width:5px;height:1px;"></div>
            <div class="aligning direction" style="float:right">
                  <asp:Button ID="btnExit" runat="server" Text="Exit" BorderStyle="Solid" 
                      BorderColor="Orange" BackColor="DarkOrange" ForeColor="White" onclick="btnExit_Click" 
                      OnClientClick="return confirm('Are you sure want to exit ?');"/>              
            </div>


        
            <div class="clearing"></div>
        </div>


        <div class="clearing"></div>
    
    </div>
    
    
    
    
        
    
    
        </ContentTemplate>
        
        
       
        
        </asp:UpdatePanel>

</asp:Content>

